package com.nf.dao;

import com.nf.entity.Record;
import java.util.List;

public interface RecordMapper {
    //添加流量记录
    public boolean addRecor(Record userId);
    //查询一条
    public Record queryRecorById(Integer id);
    //查询多条
    public List<Record> findRecorByUserId(Integer userId);
    //查所有的取款记录
    public List<Record> queryGetMoneyTodayRecord(Integer userId, java.sql.Date day);
    //查询所有的转出记录
    public List<Record> queryTrandInRecord(Integer userId, java.sql.Date day);
    //查询所有的转入记录
    public List<Record> queryTrandOutRecord(Integer userId, java.sql.Date day);

}
